import request from "@/router/axios";
import { baseUrl } from "@/config/env";

//添加学业成绩
export function addStudyGrades(data) {
  return request({
    url: baseUrl + "/pc/study-grades",
    method: "post",
    data
  });
}

//查询学业成绩
export function getStudyGrades(data) {
  return request({
    url: baseUrl + "/pc/study-grades",
    method: "get",
    params: data
  });
}

//删除学业成绩
export function deleteStudyGrades(data) {
  return request({
    url: baseUrl + "/pc/study-grades",
    method: "delete",
    data
  });
}

//更新学业成绩
export function updateStudyGrades(data) {
  return request({
    url: baseUrl + "/pc/study-grades",
    method: "put",
    data
  });
}

//导入学业成绩
export function importStudyGrades(data) {
  return request({
    url: baseUrl + "/pc/study-grades",
    method: "post",
    data
  });
}
